package com.jn.dagger.entity;

import java.io.Serializable;

public class Course implements Serializable {

    private int course_id;// 课程ID
    private String course_name;// 课程名称
    private String course_code; // 课程代码
    private String courseType; // 课程类型
    private int credits; // 学分

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getCourse_code() {
        return course_code;
    }

    public void setCourse_code(String course_code) {
        this.course_code = course_code;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public int getCredits() {
        return credits;
    }

    public void setCredits(int credits) {
        this.credits = credits;
    }

    @Override
    public String toString() {
        return "Course{" +
                "course_id=" + course_id +
                ", course_name='" + course_name + '\'' +
                ", course_code='" + course_code + '\'' +
                ", courseType='" + courseType + '\'' +
                ", credits=" + credits +
                '}';
    }
}
